package com.me.jingdongshop.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterLV;
import com.me.common.ui.BaseHolderLV;
import com.me.jingdongshop.model.bean.Category;
import com.me.jingdongshop.model.bean.HomeRecommendedBrand;
import com.me.jingdongshop.model.bean.ListBean;
import com.me.jingdongshop.ui.holder.DisHolderLv;
import com.me.jingdongshop.ui.holder.GoodsHolderLv;

import java.util.List;

/**
 * Created by Tm on 2017/5/4.
 */

public class GoodsAdapterLv extends BaseAdapterLV<ListBean> {




    public GoodsAdapterLv(Context context, List<ListBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderLV<ListBean> createViewHolder(Context context, ViewGroup parent,
                                                                ListBean bean, int position) {
        return new GoodsHolderLv(context,parent,this,position,bean);

    }


}
